package xyz.yang.toodles;

/**
 * @author Xuehong Yang
 * @since 1.0
 */

@SuppressWarnings("unused")
public interface UidGenerator {
    Long nextId();

    static Long next() {
        return ServiceLocator.service(UidGenerator.class).nextId();
    }
}
